package com.example.quarkus.mapper;

import com.example.quarkus.entity.Emp;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EmpMapper {
    int deleteByPrimaryKey(Integer empId);

//    @Select("SELECT * FROM employee WHERE id=#{id}")
    Emp selectByPrimaryKey(Integer id);

    void insertSelective(Emp emp);

    int updateByPrimaryKeySelective(Emp emp);
}